package com.cx.mapper;

import com.cx.entity.Income;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IncomeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Income record);

    int insertOrUpdate(Income record);

    int insertOrUpdateSelective(Income record);

    int insertSelective(Income record);

    Income selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Income record);

    int updateByPrimaryKey(Income record);

    int updateBatch(List<Income> list);

    int batchInsert(@Param("list") List<Income> list);

    List<Income> incomeList(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);
}